package com.wangzhixuan.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zhixuan.wang
 * @since 2017-07-22
 */
@TableName("job_survey_base")
public class SurveyBase extends Model<SurveyBase> {

    private static final long serialVersionUID = 1L;

    /**
     * 工作ID
     */
	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
	@TableField("work_id")
	private Integer workId;
    /**
     * 勘察负责人ID
     */
	@TableField("survey_resp_id")
	private Integer surveyRespId;
    /**
     * 勘察时间
     */
	@TableField("survey_time")
	private Date surveyTime;
    /**
     * 勘察名称
     */
	@TableField("survey_name")
	private String surveyName;
    /**
     * 勘察内容
     */
	@TableField("survey_content")
	private String surveyContent;
    /**
     * 停电范围
     */
	@TableField("blackout_range")
	private String blackoutRange;
    /**
     * 带电部位
     */
	@TableField("charged_test")
	private String chargedTest;
    /**
     * 工作环境
     */
	@TableField("work_test")
	private String workTest;
    /**
     * 安全措施
     */
	private String security;
    /**
     * 创建人id
     */
	@TableField("create_id")
	private Integer createId;
    /**
     * 创建时间
     */
	@TableField("create_time")
	private Date createTime;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getWorkId() {
		return workId;
	}

	public void setWorkId(Integer workId) {
		this.workId = workId;
	}

	public Integer getSurveyRespId() {
		return surveyRespId;
	}

	public void setSurveyRespId(Integer surveyRespId) {
		this.surveyRespId = surveyRespId;
	}

	public Date getSurveyTime() {
		return surveyTime;
	}

	public void setSurveyTime(Date surveyTime) {
		this.surveyTime = surveyTime;
	}

	public String getSurveyName() {
		return surveyName;
	}

	public void setSurveyName(String surveyName) {
		this.surveyName = surveyName;
	}

	public String getSurveyContent() {
		return surveyContent;
	}

	public void setSurveyContent(String surveyContent) {
		this.surveyContent = surveyContent;
	}

	public String getBlackoutRange() {
		return blackoutRange;
	}

	public void setBlackoutRange(String blackoutRange) {
		this.blackoutRange = blackoutRange;
	}

	public String getChargedTest() {
		return chargedTest;
	}

	public void setChargedTest(String chargedTest) {
		this.chargedTest = chargedTest;
	}

	public String getWorkTest() {
		return workTest;
	}

	public void setWorkTest(String workTest) {
		this.workTest = workTest;
	}

	public String getSecurity() {
		return security;
	}

	public void setSecurity(String security) {
		this.security = security;
	}

	public Integer getCreateId() {
		return createId;
	}

	public void setCreateId(Integer createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
